/config/app/health/monitor//serverDown/window

Use

Use to determine when a server that is up should be marked as down, because the specified number of health probes has failed. The value here works with the value in the threshold node to become a ratio. This value is the number of attempts.

Parameters

name: Name of health monitor

Data Key

The data key is the number of attempts.

Data Type

uint32

Default Data Value

10

Default Allowed

False

Request Methods

GET, PUT

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/serverDown/window

GET Response

{"/config/app/health/monitor/hm-01/serverDown/window": {"data": 10,
                                                         "default": False,
                                                         "defaultAllowed": False,
                                                         "deleteAllowed": False,
                                                         "numChildren": 0,
                                                         "type": "uint32"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/health/monitor/hm-01/serverDown/window"}

PUT

curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X PUT https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/monitor/hm-01/serverD own/window

PUT Response

{"httpResponseCode": 200,
  "requestPath": "/config/app/health/monitor/hm-01/serverDown/window",
  "recurse":false}
  1. /config/app/health/monitor//serverDown/window 1. Parameters 2. Data Key
    1. Data Type
    2. Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples